package com.news.mapper;

import com.news.entity.SysNews;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 新闻表 Mapper 接口
 * </p>
 *
 *
 */
public interface SysNewsMapper extends BaseMapper<SysNews> {

    List<SysNews> hotList(Date startTime, Date endTime);

}
